﻿<Page x:Class="RapidTutorialWPF.Guide3"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Guide3" xmlns:rl="clr-namespace:Jalindi.RapidLayout;assembly=RapidLayout2009.Windows">
    <rl:RapidPanel GuideDisplayMode="Design">
        <rl:RapidPanel.Guides>
            <rl:HorizontalGuide Name="guide1" Top="50,n=rowa" />
            <rl:HorizontalGuide Name="guide2" Top="spring,t=guide1,tie,n=rowb" Bottom="50,n=rowc"/>
            <rl:VerticalGuide Name="guide3" Left="50,n=cola" />
            <rl:VerticalGuide Name="guide4" Left="spring,t=guide3,tie,n=colb" Right="50,n=colc" />
        </rl:RapidPanel.Guides>
<Button Content="B1" rl:RapidPanel.Horizontal="col=cola" rl:RapidPanel.Vertical="row=rowa"></Button>
        <Button Content="B2" rl:RapidPanel.Horizontal="col=colc" rl:RapidPanel.Vertical="row=rowa"></Button>
        <Button Content="B3" rl:RapidPanel.Horizontal="col=cola" rl:RapidPanel.Vertical="row=rowc"></Button>
        <Button Content="B4" rl:RapidPanel.Horizontal="col=colc" rl:RapidPanel.Vertical="row=rowc"></Button>
        <Button Content="B5" rl:RapidPanel.Horizontal="col=colb" rl:RapidPanel.Vertical="row=rowb"></Button>
        <!--<Button rl:RapidPanel.Horizontal="col=rowa, a=stretch"  Content="Col Button 1" VerticalAlignment="Top" />
        <Button rl:RapidPanel.Horizontal="col=myrow, a=stretch" rl:RapidPanel.Top="t=#previous"  Content="Col Button 2" VerticalAlignment="Top" />
        <Button rl:RapidPanel.Horizontal="col=rowc, a=stretch"  rl:RapidPanel.Top="t=#previous"  Content="Col Button 3" VerticalAlignment="Top" />-->
    </rl:RapidPanel>
</Page>
